package extendsexamp;

public class University {
    double math;
    double english;
    double chinese;
    double sport;
    void enter(){
        if(math+english+chinese>=160&&sport>=60){
            double x;
            x=math+english+chinese;
            System.out.println("你被录取");
        }else{
            System.out.println("没有被录取");
        }
    }
}
